/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    DongPeng
 * 创建时间:    2023-10-06
 * copyright(c) 2022 无锡星智数服科技有限公司
 */
package org.jeecg.modules.dock.client;

import com.dtflys.forest.annotation.*;
import com.dtflys.forest.converter.json.ForestJacksonConverter;
import com.dtflys.forest.http.ForestResponse;
import org.jeecg.modules.dock.constant.SystemConstants;
import org.jeecg.modules.dock.entity.dto.request.MasterDataRequestDTO;
import org.jeecg.modules.dock.entity.dto.response.MasterDataResponseDTO;
import org.jeecg.modules.dock.entity.light.request.IbsModelListVO;
import org.jeecg.modules.dock.entity.light.response.LightResponseDTO;

/**
 * 安灯系统控制接口
 *
 * @author DongPeng
 * @version 1.0.0
 * @date 2023-10-06
 * @description 类描述
 */
@BaseRequest(
        baseURL = "${ibsAddress}",
        headers = {"~request_method:POST", "content-Type:application/json", SystemConstants.SYS_HEADER + ":" + SystemConstants.IBS}
)
@ForestClient
public interface IBSRequestClient extends BaseRequestClient{

    /**
     * 按灯控制
     *
     * @param ibsModelListVO
     * @return LightResponseDTO
     */
    @PostRequest(value = "/api/Light/LightIBS/", decoder = ForestJacksonConverter.class)
    ForestResponse<LightResponseDTO> lightIBS(@JSONBody IbsModelListVO ibsModelListVO);
}
